package com.gcxy.vo.semester;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.gcxy.constant.StringConst;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * Copyright (C), 2024-2024, BUG闭退！
 * Author: Huang先森
 * Date: 2024/8/2 11:18
 * FileName: SemesterInfoVO
 * Description:
 */
@Data
public class SemesterInfoVO {

    @ApiModelProperty("学期id")
    private Integer id;

    @ApiModelProperty("学期名称")
    private String name;

    @ApiModelProperty("当前学期类型标识")
    private boolean currentFlg;

    @JsonFormat(pattern = StringConst.YYYY_MM_DD)
    @ApiModelProperty("学期开始时间")
    private LocalDateTime startTime;

    @JsonFormat(pattern = StringConst.YYYY_MM_DD)
    @ApiModelProperty("学期结束时间")
    private LocalDateTime endTime;

}
